Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the original QuickSort to QuickSelect #8

Merged
merged 2 commits into from
Apr 11, 2025
Merged

Conversation

kak0na
Copy link
Contributor

@kak0na kak0na commented Feb 22, 2025

Changed the original QuickSort to QuickSelect

Changed the original QuickSort to QuickSelect
Copy link
Owner

@nutti nutti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kak0na

Thank you for creating a pull request :)
It seems a good addition to this plugin.

BTW, is there any evidence that this new algorithm is faster?
Please show me the performance comparison result when you run this plugin on Unreal Engine.

@nutti nutti linked an issue Feb 22, 2025 that may be closed by this pull request
@nutti nutti added the enhancement New feature or request label Feb 22, 2025
@kak0na
Copy link
Contributor Author

kak0na commented Feb 26, 2025

@nutti
I used 400,000 locations for testing.
The build time was improved from 0.82 seconds to 0.18 seconds.
You can also try it

Copy link
Owner

@nutti nutti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kak0na

Sorry for the late response.
I confirmed this implementation is much faster than the current one.
Please check the comments before merging this PR.

Delete unnecessary characters
@nutti nutti merged commit 946139d into nutti:master Apr 11, 2025
7 of 23 checks passed
@nutti
Copy link
Owner

nutti commented Apr 11, 2025

Thank you @kak0na for the contribution.
This is a big addition to this plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Your Todo: NthElement
2 participants